function [ ] = plotContour( domain2D, dx, dy, frame )
%PLOTCONTOUR Summary of this function goes here
%   Detailed explanation goes here

px = [domain2D.vx];%; rx];
py = [domain2D.vy];%; ry];

n = size(domain2D.e1, 1);

px = px + dx;
py = py + dy;

file = figure;

hold on

for i = 1 : n
   line([px(domain2D.e1(i));px(domain2D.e2(i))],[py(domain2D.e1(i));py(domain2D.e2(i))]) 
end

axis ( [ -1, 1, -1, 1] );
% caxis( [ 0.85, 1.15] );
axis square;

getframe();

hold off

saveas(file, sprintf('./jpg/image%d.jpg', frame));

end

